package core;

import core.QuestionGenerator.Wildcard;

public class DbPatternRow {

	private final int _patternId;
	private final String _pattern;
	private final Wildcard _subject;
	private final Wildcard _object;
	private final boolean _objectValueIsString;
	private final String _infoTableName;
	
	
	public DbPatternRow(int patternId, String pattern, Wildcard subject, Wildcard object, boolean objectValueIsString,
						String infoTableName) {
		_patternId = patternId;
		_pattern = pattern;
		_subject = subject;
		_object = object;
		_objectValueIsString = objectValueIsString;
		_infoTableName = infoTableName;
	}
	
	
	public String getInfoTableName() {
		return _infoTableName;
	}

	
	public int getPatternId() {
		return _patternId;
	}

	public String getPattern() {
		return _pattern;
	}

	public Wildcard getObject() {
		return _object;
	}

	public boolean isObjectValueIsString() {
		return _objectValueIsString;
	}


	public Wildcard getSubject() {
		return _subject;
	}

}
